package com.isesol.seckill;

import com.google.common.collect.*;

import java.util.concurrent.*;
import java.util.concurrent.atomic.*;

public class CountInfo {

    /**
     * 实例数
     */
    public static long INSTANCE_COUNT=1L ;

    /**
     * 验证码获取数量
     */
    public final static ConcurrentMap<String, LongAdder> CAPTCHA_COUNT_MAP = Maps.newConcurrentMap();

    /**
     * 库存
     */
    public final static ConcurrentMap<String, AtomicLong> STOCK_MAP = Maps.newConcurrentMap();

    /**
     * 发生情况map
     */
    public  final static ConcurrentMap<String, AtomicLong> SALES_MAP = new ConcurrentHashMap();
}
